package com.example.emos.api.db.dao;

import com.example.emos.api.db.pojo.TbRank;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author ：Supyo
 * @date ：Created in 2021/11/16 15:04
 * @description：
 */
@Mapper
public interface TbRankDao {

    public ArrayList<HashMap> selectRankBypages(java.util.HashMap param);

    public int addRanks(TbRank rank);

    public int updateRank(HashMap param);

    public int deleteRanks(Integer[] ids);

    public TbRank selectOneRank(Integer id);

    public long count();
}
